#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Author:  LJ
Email:   admin@attacker.club
Last Modified: 2018-12-12 13:16:11
Description:
'''

s = 'hello'

print (s.find('e'))
# 搜索到 值为1
print (s.find('i'))
# 未搜索到 值 -1